<?php include('./templete/public/head.php')?>
<body class="mbHeight">

<!--底部导航-->
<?php include('./templete/public/foot.php')?>

<!--积分商城-->
<div class="integral-main">
    <div class="main-content">
        <div class="c-top">
            <img src="<?php echo session('user_info')['avatar']?>" class="head-img" />
            <div class="top-text">
                <span><?php echo session('user_info')['name']?></span>
                <span class="line">|</span>
                <span>积分:<?php echo $user_info['integral']?></span>
            </div>
            <div class="top-btn">
                <a href="<?php echo url('user/sign')?>" target="_blank">去签到</a>
            </div>
        </div>
        <div class="c-list">
            <ul class="comm-table-view">
                <li class="table-view-cell">
                    <a href="<?php echo url('integral_log')?>">
                        <span>积分记录</span>
                        <span class="fr"><i class="iconfont icon-youjiantou"></i></span>
                    </a>
                </li>
                <li class="table-view-cell">
                    <a href="<?php echo url('user/integral_list')?>">
                        <span>积分排行</span>
                        <span class="fr"><i class="iconfont icon-youjiantou"></i></span>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
</body>

</html>